package com.test.springboot.springBootUtils.jpa.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="location")
public class Loacation {
	@Id
	@Column(name = "LOCATION_ID")
	public int locationId;
	@Column(name = "LOCATION_NUMBER")
	public String locationNumber;
	@Column(name = "LOCATION_NAME")
	public String locationName;
	@Column(name = "PROVINCE_ID")
	public String provinceId;
	@Column(name = "CITY_ID")
	public int cityId;
	@Column(name = "LOCATION_LEVEL")
	public int locationLevel;
	@Column(name = "ENABLED")
	public int enabled;
	@Column(name = "CREATE_TIME")
	public Date createTime;
	@Column(name = "UPDATE_TIME")
	public Date updateTime;
	@Column(name = "MEMO")
	public String memo;

	public int getLocationId() {
		return locationId;
	}

	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}

	public String getLocationNumber() {
		return locationNumber;
	}

	public void setLocationNumber(String locationNumber) {
		this.locationNumber = locationNumber;
	}

	public String getLocationName() {
		return locationName;
	}

	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public int getLocationLevel() {
		return locationLevel;
	}

	public void setLocationLevel(int locationLevel) {
		this.locationLevel = locationLevel;
	}

	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
